﻿using System.Collections.Generic;
using System;
using Castle.Services.Transaction;
using Castle.Core.Logging;

namespace Inovout.Business
{
    public abstract class BaseWorkItem<TModel> : BaseWorkItem
    {
        protected new IViewDataDictionary<TModel> ViewData
        {
            get
            {
                return (IViewDataDictionary<TModel>)base.ViewData;
            }
            set
            {
                SetViewData(value);
            }
        }
        protected override void SetViewData(IViewDataDictionary value)
        {
            base.SetViewData((IViewDataDictionary<TModel>)value);
        }
    }
}
